//
//  AddServiceAppointmentViewController.h
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-2-20.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASIHTTPRequest.h"
#import "MBProgressHUD.h"
#import "CustomActionSheet.h"
#import "CustomDateActionSheet.h"
#import "CustomNumbleKeyboardView.h"

@protocol ServiceAppointAddRefreshDelegate <NSObject>

-(void)RefreshServiceAppointRequest;
@end

@interface AddServiceAppointmentViewController : UIViewController<UITextFieldDelegate,UITextViewDelegate,UICustomActionSheetDelegate,UICustomDateActionSheetDelegate,UITableViewDataSource,UITableViewDelegate,CustomNumberKeyBoardDelegate>
{

    BOOL showProgress;
    MBProgressHUD* progress;
    NSString *NoticeTag;
    UISwitch *swNeedNotice;
    NSMutableArray *arrData;
    NSMutableArray *arrAppointmentName;
    NSMutableArray *arrAppointmetnNotice;
    NSMutableArray *arrAppointMentType;
    NSString *strAppointMentType;
}

@property (strong, nonatomic) MBProgressHUD* progress;


//界面控件

@property(nonatomic,retain) UITextField *txtAppointmentName;
@property(nonatomic,retain) UITextField *txtAppointmentTime;
@property(nonatomic,retain) UITextField *txtContactName;
@property(nonatomic,retain) UITextField *txtContactPho;
@property(nonatomic,retain) UITextView *txvNotice;

@property(nonatomic,retain) UITableView *TableViewAppoint;
-(void)setRequest;//向太保移动平台发送请求报文
@property(nonatomic,strong) id<ServiceAppointAddRefreshDelegate>ServiceAppointRefreshdelegate;
@end
